Path: api/v1/stock/{stockno}/prices
This API is JSON:API compliant.
This endpoint supports the following methods:
GET
The resource type for this endpoint is StockPrices
The identifier is stockNo-stockPriceId
The StockPrices resource type attributes are as follows:
Path: api/v1/stock/10/prices
Response:
{
"data": [
{
"id": "10-123",
"type": "StockPrices",
"attributes": {
"stockPriceId": 123,
"priceLevel": "1-Retail",
"priceCalcMethod": "List - Percent",
"basePriceLevel": "",
"currencyCode": "AUD",
"taxCode": "G",
"discountPerc": 0.0,
"priceExcl": 44.37,
"priceIncl": 48.807
}
},
{
"id": "10-129",
"type": "StockPrices",
"attributes": {
"stockPriceId": 129,
"priceLevel": "3-Do & Charge",
"priceCalcMethod": "List - Percent",
"basePriceLevel": "",
"currencyCode": "AUD",
"taxCode": "G",
"discountPerc": 0.0,
"priceExcl": 44.37,
"priceIncl": 48.807
}
}
]
}
Path: api/v1/stock/10/prices/10-129
Response:
{
"data": {
"id": "10-129",
"type": "StockPrices",
"attributes": {
"stockPriceId": 129,
"priceLevel": "3-Do & Charge",
"priceCalcMethod": "List - Percent",
"basePriceLevel": "",
"currencyCode": "AUD",
"taxCode": "G",
"discountPerc": 0.0,
"priceExcl": 44.37,
"priceIncl": 48.807
}
}
}